package soulkun.library.utils.log

import android.app.Activity
import android.util.Log
import soulkun.library.component.BaseActivity
import soulkun.library.component.BaseActivity.Companion.TAG
import soulkun.library.component.BaseFragment

object LogUtils {

    var enable = true

    fun logI(msg: String) {
        if (enable) {
            Log.i("Info", msg)
        }
    }

    fun logI(tag: String, msg: String) {
        if (enable) {
            Log.i(tag, msg)
        }
    }

    fun logE(msg: String){
        if (enable) {
            Log.e("Error", msg)
        }
    }

    fun logE(tag: String, msg: String) {
        if (enable) {
            Log.e(tag, msg)
        }
    }

}